//
//  ViewController.m
//  CDatePicker
//
//  Created by Mac on 2023/12/8.
//

#import "ViewController.h"

#import "MenkDatePicker.h"
#import "MKPopoverView.h"
#import <Masonry.h>
#import "UIColor+Kyes.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor orangeColor];
    
    MenkDatePicker *datePicker = [[MenkDatePicker alloc]init];
    [self.view addSubview:datePicker];
    datePicker.backgroundColor = [UIColor whiteColor];

    [datePicker mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view).offset(5);
        make.right.equalTo(self.view).offset(-5);
        make.center.equalTo(self.view);
        make.height.mas_equalTo(500);
    }];
    
//    MKPopoverView *pop = [[MKPopoverView alloc]init];
//    [self.view addSubview:pop];
//
//    [pop mas_makeConstraints:^(MASConstraintMaker *make) {
//        make.width.mas_offset(80);
//        make.bottom.equalTo(self.view).offset(-20);
//        make.height.mas_equalTo(200);
//        make.left.equalTo(self.view).offset(100);
//    }];
    
    
}


@end
